package com.wang.mall.service;

import com.wang.mall.bean.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Set;

public interface SysMenuService extends IService<SysMenu>{


    List<SysMenu> getMenusByUserId(Long userId);

    List<SysMenu> getUserMenuList();


    Set<String> getPermissions(Set<String> collect);

    List<SysMenu> queryNotButtonList();


    List<SysMenu> listByCurrentUser();


}
